home *** CD-ROM | disk | FTP | other *** search
- /*
- File: CRMSerialDevices.h
-
- Contains: Communications Resource Manager Serial Device interfaces.
-
- Version: Technology: System 7.5
- Release: Universal Interfaces 3.0d3 on Copland DR1
-
- Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
-
- Bugs?: If you find a problem with this file, send the file and version
- information (from above) and the problem description to:
-
- Internet: apple.bugs@applelink.apple.com
- AppleLink: APPLE.BUGS
-
- */
- #ifndef __CRMSERIALDEVICES__
- #define __CRMSERIALDEVICES__
-
- #ifndef __TYPES__
- #include <Types.h>
- #endif
-
- #ifdef __cplusplus
- extern "C" {
- #endif
-
- #if PRAGMA_IMPORT_SUPPORTED
- #pragma import on
- #endif
-
- #if PRAGMA_ALIGN_SUPPORTED
- #pragma options align=mac68k
- #endif
-
-
- enum {
- /* for the crmDeviceType field of the CRMRec data structure */
- crmSerialDevice = 1, /* version of the CRMSerialRecord below */
- curCRMSerRecVers = 1
- };
-
- /* Maintains compatibility w/ apps & tools that expect an old style icon */
- struct CRMIconRecord {
- long oldIcon[32]; /* ICN# */
- long oldMask[32];
- Handle theSuite; /* Handle to an IconSuite */
- long reserved;
- };
- typedef struct CRMIconRecord CRMIconRecord;
-
- typedef CRMIconRecord *CRMIconPtr;
- typedef CRMIconPtr *CRMIconHandle;
- struct CRMSerialRecord {
- short version;
- StringHandle inputDriverName;
- StringHandle outputDriverName;
- StringHandle name;
- CRMIconHandle deviceIcon;
- long ratedSpeed;
- long maxSpeed;
- long reserved;
- };
- typedef struct CRMSerialRecord CRMSerialRecord;
-
- typedef CRMSerialRecord *CRMSerialPtr;
-
- #if PRAGMA_ALIGN_SUPPORTED
- #pragma options align=reset
- #endif
-
- #if PRAGMA_IMPORT_SUPPORTED
- #pragma import off
- #endif
-
- #ifdef __cplusplus
- }
- #endif
-
- #endif /* __CRMSERIALDEVICES__ */
-
-